package com.yurun.orglessonmodule.service;

import com.yurun.commonapi.api.CommonResult;
import com.yurun.commonapi.pojo.Lesson;
import com.yurun.commonapi.pojo.LessonSet;

import javax.servlet.ServletRequest;
import java.math.BigInteger;

public interface LessonService {

    CommonResult allLessonInfo(BigInteger organizationId ,BigInteger branchId, String keyword, int pageNum, int pageSize);

    CommonResult addLesson(Lesson lesson);

    CommonResult getOneLessonInfo(BigInteger id);

    CommonResult editLesson(Lesson lesson);

    CommonResult delLesson(BigInteger id);

    CommonResult getClassroomOption(BigInteger organizationId ,BigInteger branchId);

    CommonResult getSchoolYearOption(BigInteger organizationId , BigInteger classroomId, BigInteger branchId);

    CommonResult getTermOption(BigInteger organizationId , BigInteger classroomId, BigInteger branchId, String schoolYear);

    CommonResult addLessonSet(LessonSet lessonSet);

    CommonResult getOneTimetable(LessonSet lessonSet);

    CommonResult getLessonOption(BigInteger organizationId ,BigInteger branchId);

    CommonResult getTeacherOptionByLessonName(Lesson lesson);

    CommonResult editLessonSet(LessonSet lessonSet);

}
